package com.ai.module.business.domain.entity;

import com.ai.module.chat.common.domain.BaseEntity;
import com.ai.module.business.enu.Source;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: MrHe
 * @create: 2023-09-02 10:22
 * @description: 评论记录
 **/
@Data
@TableName("banner_record")
@ApiModel("业务数据")
public class BannerRecordEntity extends BaseEntity {

    @TableField("business_content")
    private String businessContent;

    @TableField("business_id")
    @ApiModelProperty("业务id")
    private String businessId;

    @TableField("source")
    @ApiModelProperty("数据来源")
    private Source source= Source.TALK;

    @TableField("user_id")
    @ApiModelProperty("用户id")
    private String userId;

    @TableField("rule")
    @ApiModelProperty("命中规则")
    private String rule;

    @TableField("original_rule")
    @ApiModelProperty("原始规则")
    private String originalRule;


    @TableField("confidence")
    @ApiModelProperty("原始规则")
    private double confidence= 100.0;

}
